<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>抽奖效果</title>
  <style>
    div {
      width: 840px;
      height: 420px;
      /* 背景图 */
      background-image: url(./images/bg01.jpg);
      /* 背景图尺寸：封面 */
      background-size: cover;
      /* 背景图平铺：不平铺 */
      background-repeat: no-repeat;

      /* 开启 flex 布局模式 */
      display: flex;
      /* flex 主轴方向：垂直上下排列 */
      flex-direction: column;
      /* 主轴对齐：居中 */
      justify-content: center;
      /* 侧轴对齐：居中 */
      align-items: center;
    }
  </style>
</head>

<body>
  <div>
    <h1>传智教育年会抽奖</h1>
    <h2>恭喜：???</h2>
  </div>
</body>

</html>